package collector.app.nexd.com.singlecollection.presenter.signin;

import collector.app.nexd.com.singlecollection.activity.BaseView;
import collector.app.nexd.com.singlecollection.presenter.BasePresenter;

/**
 * Created by xun on 2016/7/31.
 */
public class SignInContract {
    public interface View extends BaseView<Presenter> {
        void initIsRem(String email);

        void loading();

        void loadDataSuccess();

        void loadDataFail();

        void signInSuccess(String userName);

        void signInUserNameFail();
        void signInPwdFail();

        void rememberError();
    }

    public interface Presenter extends BasePresenter {

        void init();

        void loadUserInfo();

        boolean checkUser(String email, String pwd);

        void signIn(String email, String pwd);

        void isRemember(String email, boolean isRem);


    }
}
